package com.qp.basics.estivate.mysql;


import com.qp.basics.estivate.Query;
import com.qp.basics.estivate.Session;
import com.qp.basics.estivate.jdbc.AbstractSessionImpl;

public class SessionMySql extends AbstractSessionImpl implements Session {
	public Query createQuery(String sql) {
		QueryMySql q = new QueryMySql(sql);
		q.setSession(this);
		return q;
	}

	protected String columnNameWrap(String colName) {
		return '`' + colName + '`';
	}

	protected String tableNameWrap(String tableName) {
		return '`' + tableName + '`';
	}
}
